class Event < ActiveRecord::Base
	belongs_to :workordertype
	belongs_to :resource
	belongs_to :project
	validates :priority,:workordertype_id, :presence => true
end
